/**
 * @param {string[]} sentences
 * @return {number}
 */
 var mostWordsFound = function(sentences) {
  let arr = sentences.map(v => v.split(' ').length)
  return Math.max(...arr)
};